package com.zc.springboot0506.controller.haosibo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Classname HsbController
 * @Description TODO
 * @Date 2021/6/22 16:50
 * @Created by haosibo
 * @Author by 郝思博
 * @nickname by Yellow Mouse
 */
@Controller
@RequestMapping("haosibo")
public class HsbController {
    @RequestMapping("add")
    @ResponseBody
    public Object add(User user){
        System.out.println(user);
        return user;
    }
}
